
<!DOCTYPE html>
<html lang="zh">
<head>
  <meta charset="UTF-8">
  <title>2500型压裂车 3D 展示</title>
  <script type="module" src="https://unpkg.com/@google/model-viewer/dist/model-viewer.min.js"></script>
  <style>
    body { margin: 0; background: #000; color: #fff; font-family: sans-serif; }
    .wechat-tip {
      position: fixed;
      top: 0;
      width: 100%;
      padding: 12px;
      background: rgba(0,0,0,0.8);
      color: #fff;
      font-size: 15px;
      text-align: center;
      z-index: 999;
    }
    header {
      position: fixed;
      top: 40px;
      width: 100%;
      padding: 10px;
      text-align: center;
      background: rgba(0,0,0,0.5);
      z-index: 998;
    }
    .viewer-container {
      width: 100vw;
      height: 100vh;
    }
    model-viewer {
      width: 100%;
      height: 100%;
    }
    .spacer { height: 100px; }
  </style>
</head>
<body>
  <div class="wechat-tip">
    📱 如模型未显示，请点击右上角 “⋮” 或 “•••” → 选择【在浏览器中打开】
  </div>
  <header><h1>2500型压裂车</h1></header>
  <div class="spacer"></div>
  <div class="viewer-container">
    <model-viewer src="https://cdn.jsdelivr.net/gh/YUHAN-ops/3d-viewer@main/model.glb"
                  alt="2500型压裂车 3D模型"
                  auto-rotate
                  camera-controls
                  ar
                  shadow-intensity="1"
                  exposure="1"
                  autoplay>
    </model-viewer>
  </div>
</body>
</html>
